package kau.dao;

import java.util.ArrayList;

import kau.exception.DuplicationException;
import kau.exception.RecordNotFoundException;
import kau.vo.Reply;

public interface ReplyDAOIF {
	public abstract void insert(Reply reply) throws DuplicationException;
	
	public abstract void update(int rNumber, String content) throws RecordNotFoundException;
	public abstract void delete(int rNumber) throws RecordNotFoundException;
	
	// 댓글수정할때 필요함(댓글하나보기)
	public abstract Reply getReply(int rNumber) throws RecordNotFoundException;
	 
	// 글에 모든댓글을 순서대로 보기
	public abstract ArrayList<Reply> getAllReplies(int wNumber);
	
	public abstract int getMaxrNumber();
	public abstract int getReplyCount(int wNumber);
}
